package io.renren.modules.avanotes.service.impl;

import io.renren.config.BizConfig;
import org.springframework.stereotype.Service;
import org.wltea.analyzer.lucene.IKAnalyzer;

import javax.annotation.PostConstruct;

/**
 * @author: xiaomi
 * @date: 2022/2/16
 * @description: 最大词语分词（非全切分）
 */
@Service(BizConfig.IMPL_IK_ANALYZER_SMART)
public class IKSmartAnalyzerServiceImpl extends AbsIKTokenAnalyzer {


    @PostConstruct
    @Override
    void initAnalyzer() {
        analyzer = new IKAnalyzer(true);
    }

}
